package com.zhuss.enums;

import java.util.List;

import com.zhuss.common.Period;

public enum FoodTime implements BaseEnum {
	
	早餐(10, "早餐", new Period("07:30", "09:00")),
	午餐(20, "午餐", new Period("11:30", "13:00")),
	特色餐(25, "特色餐", new Period("11:30", "13:00")),
	晚餐(30, "晚餐", new Period("17:00", "18:00")),
	;
	
	Integer key;
	
	String value;
	
	Period data;
	
	FoodTime(Integer key, String value, Period data) {
		this.key = key;
		this.value = value;
		this.data = data;
	}

	public Boolean sameKey(Integer key) {
		return this.key.equals(key);
	}

	public Integer key() {
		return key;
	}

	public String value() {
		return value;
	}
	
	public Period data() {
		return data;
	}

	@Override
	public String tag() {
		return value;
	}
	
	@Override
	public List<Integer> removeIdList() {
		// TODO Auto-generated method stub
		return null;
	}
	
	@Override
	public Boolean sameValue(String value) {
		return this.value.equals(value);
	}
	

}
